/*
 * Copyright 2009 Jinbo Lin. All rights reserved.
 * 
 * cn.edu.pku.model OfficeAutomation
 *
 * Created on 2009-12-25
 */
package cn.edu.pku.model;

import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * @author Jinbo Lin
 * 
 * 
 */
public class Meeting implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3013964864312392561L;
	private int meetingId = 0;
	private String meetingName = null;
	private User moderator = null;
	private User drafter = null;
	private Date dateTime = null;
	private String contents = null;
	private Minute minute = null;
	private User auditor = null;
	private String audit = null;
	private Date auditDateTime = null;
	private String removed = null;
	private String remark = null;
	
	private Set<User> participants = new HashSet<User>();

	/**
	 * @return the meetingId
	 */
	public int getMeetingId() {
		return this.meetingId;
	}

	/**
	 * @param meetingId
	 *            the meetingId to set
	 */
	public void setMeetingId(int meetingId) {
		this.meetingId = meetingId;
	}

	/**
	 * @return the meetingName
	 */
	public String getMeetingName() {
		return this.meetingName;
	}

	/**
	 * @param meetingName
	 *            the meetingName to set
	 */
	public void setMeetingName(String meetingName) {
		this.meetingName = meetingName;
	}

	/**
	 * @return the moderator
	 */
	public User getModerator() {
		return this.moderator;
	}

	/**
	 * @param moderator
	 *            the moderator to set
	 */
	public void setModerator(User moderator) {
		this.moderator = moderator;
	}

	/**
	 * @return the drafter
	 */
	public User getDrafter() {
		return this.drafter;
	}

	/**
	 * @param drafter
	 *            the drafter to set
	 */
	public void setDrafter(User drafter) {
		this.drafter = drafter;
	}

	/**
	 * @return the dateTime
	 */
	public Date getDateTime() {
		return this.dateTime;
	}

	/**
	 * @param dateTime
	 *            the dateTime to set
	 */
	public void setDateTime(Date dateTime) {
		this.dateTime = dateTime;
	}

	/**
	 * @return the contents
	 */
	public String getContents() {
		return this.contents;
	}

	/**
	 * @param contents
	 *            the contents to set
	 */
	public void setContents(String contents) {
		this.contents = contents;
	}

	/**
	 * @return the minute
	 */
	public Minute getMinute() {
		return this.minute;
	}

	/**
	 * @param minute
	 *            the minute to set
	 */
	public void setMinute(Minute minute) {
		this.minute = minute;
	}

	/**
	 * @return the auditor
	 */
	public User getAuditor() {
		return this.auditor;
	}

	/**
	 * @param auditor
	 *            the auditor to set
	 */
	public void setAuditor(User auditor) {
		this.auditor = auditor;
	}

	/**
	 * @return the audit
	 */
	public String getAudit() {
		return this.audit;
	}

	/**
	 * @param audit
	 *            the audit to set
	 */
	public void setAudit(String audit) {
		this.audit = audit;
	}

	/**
	 * @return the auditDateTime
	 */
	public Date getAuditDateTime() {
		return this.auditDateTime;
	}

	/**
	 * @param auditDateTime
	 *            the auditDateTime to set
	 */
	public void setAuditDateTime(Date auditDateTime) {
		this.auditDateTime = auditDateTime;
	}

	/**
	 * @return the removed
	 */
	public String getRemoved() {
		return this.removed;
	}

	/**
	 * @param removed
	 *            the removed to set
	 */
	public void setRemoved(String removed) {
		this.removed = removed;
	}

	/**
	 * @return the remark
	 */
	public String getRemark() {
		return this.remark;
	}

	/**
	 * @param remark
	 *            the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * @return the participants
	 */
	public Set<User> getParticipants() {
		return this.participants;
	}

	/**
	 * @param participants the participants to set
	 */
	public void setParticipants(Set<User> participants) {
		this.participants = participants;
	}

	/**
	 * 
	 */
	public Meeting() {
	}

	/**
	 * @param meetingId
	 * @param meetingName
	 * @param moderator
	 * @param drafter
	 * @param dateTime
	 */
	public Meeting(int meetingId, String meetingName, User moderator,
			User drafter, Date dateTime) {
		super();
		this.meetingId = meetingId;
		this.meetingName = meetingName;
		this.moderator = moderator;
		this.drafter = drafter;
		this.dateTime = dateTime;
	}

	/**
	 * @param meetingId
	 * @param meetingName
	 * @param moderator
	 * @param drafter
	 * @param dateTime
	 * @param contents
	 * @param minute
	 * @param auditor
	 * @param audit
	 * @param auditDateTime
	 * @param removed
	 * @param remark
	 */
	public Meeting(int meetingId, String meetingName, User moderator,
			User drafter, Date dateTime, String contents, Minute minute,
			User auditor, String audit, Date auditDateTime, String removed,
			String remark) {
		super();
		this.meetingId = meetingId;
		this.meetingName = meetingName;
		this.moderator = moderator;
		this.drafter = drafter;
		this.dateTime = dateTime;
		this.contents = contents;
		this.minute = minute;
		this.auditor = auditor;
		this.audit = audit;
		this.auditDateTime = auditDateTime;
		this.removed = removed;
		this.remark = remark;
	}
	
}
